function controlRem(){
    var clientWidth = document.documentElement.clientWidth;
    document.getElementsByTagName('html')[0].style.fontSize = clientWidth*20/375+'px'
}
controlRem();
window.onload = window.onresize = controlRem;
